﻿namespace LoveEatRabbit.ErrorCode
{
    /// <summary>
    /// API封装返回标准信息
    /// </summary>
    /// <typeparam name="T">实体</typeparam>
    public class APIResult<T>
    {
        /// <summary>
        /// 返回码
        /// </summary>
        public APIResultCode Code {  get; set; }
        /// <summary>
        /// 返回信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 实体
        /// </summary>
        public T Data { get; set; }    
    }
}
